/*
 * Copyright (c) 2003, 2004 Ulrich Hilger, http://dev.uhilger.de, all rights reserved.
 *
 * Published under the terms and conditions of the Apache License 2.0,
 * see http://www.apache.org/licenses/LICENSE-2.0
 */

package de.uhilger.app.ui;

import java.awt.Frame;
import java.awt.Container;
import javax.swing.JLabel;
import javax.swing.JDialog;

/**
 * Default about dialog
 *
 * @author Ulrich Hilger, <a href="http://dev.uhilger.de" target="_blank">http://dev.uhilger.de</a>
 * @author Published under the terms and conditions of
 * the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License 2.0</a>
 *
 * @version 2, February 12, 2004
 */

public class DefaultAboutDialog extends JDialog {

  /**
   * constructor
   * @param f Frame the parent frame
   * @param title String the dialog title
   */
  public DefaultAboutDialog(Frame f, String title) {
    super(f, title);
    setSize(300,100);
    Container c = getContentPane();
    c.add(new JLabel("Example application Copyright (c) 2004 by Ulrich Hilger"));
  }
}
